﻿//INNOVACALL FRAMEWORK MUST BE IN ALL VIEW JAVASCRIPT
$.fn.DocReady = function () {
	$.fn.PrepareLayoutMenus();
	//Add call to execute when document is ready
	$.fn.PreparePowerZoom();
	$.fn.TabifyCodeFiles();
}

$.fn.PreparePowerZoom = function () {
	$('#imgDiagram').addpowerzoom({
		defaultpower: 3,
		magnifiersize: [680, 300]
	});
}

$.fn.MainAjaxSuccess = function (a, b, c) {
	if (a.ScriptToExecute != null) {
		eval(a);
	}
}

